raar.vectorimagex
Class GVectorObject_Shape

java.lang.Object
  extended by vectorimage.GVectorObject
      extended by raar.vectorimagex.GVectorObject_Shape
All Implemented Interfaces:
java.io.Serializable

public class GVectorObject_Shape
extends GVectorObject

A GVectorObject that does not have an underlying object source but is defined by its shape.

Undocumented in JavaDoc. Quite straightforward.

See Also:
Serialized Form

Constructor Summary
GVectorObject_Shape()
           
 
Method Summary
 java.awt.Color getColor()
          Return the colour for the object.
 float getOpacity()
          Return the opacity (0.0F = transparent, 1.0F = opaque).
 java.awt.Shape getShape()
          Create a shape for the object.
 boolean isFilled()
          Return whether to fill or draw this object.
 boolean isPerceivable()
           
 void setColor(java.awt.Color c)
           
 void setFilled(boolean b)
           
 void setOpacity(float f)
           
 void setShape(java.awt.Shape s)
           
 
Methods inherited from class vectorimage.GVectorObject
createGVectorObject, getObject
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GVectorObject_Shape

public GVectorObject_Shape()
Method Detail

setShape

public void setShape(java.awt.Shape s)

getShape

public java.awt.Shape getShape()
Description copied from class: GVectorObject
Create a shape for the object.

Overrides:
getShape in class GVectorObject

setColor

public void setColor(java.awt.Color c)

getColor

public java.awt.Color getColor()
Description copied from class: GVectorObject
Return the colour for the object.

Overrides:
getColor in class GVectorObject

setFilled

public void setFilled(boolean b)

isFilled

public boolean isFilled()
Description copied from class: GVectorObject
Return whether to fill or draw this object.

Overrides:
isFilled in class GVectorObject

isPerceivable

public boolean isPerceivable()

setOpacity

public void setOpacity(float f)

getOpacity

public float getOpacity()
Description copied from class: GVectorObject
Return the opacity (0.0F = transparent, 1.0F = opaque). By default, objects are opaque.

Overrides:
getOpacity in class GVectorObject